#include "client.hpp"

void use_manual()
{
    std::cout << "please input like: "
              << " \"./client ip port\" " << std::endl;
}

int main(int arg, char* argc[])
{
    if (arg != 3)
    {
        use_manual();
        exit(0);
    }

    client* test = new client(argc[1], atoi(argc[2]));
    test->client_init();
    test->client_start();

    delete test;
    return 0;
}